Mijn user (hzcv6c) en de user administrator werken niet, terwijl een collega van me zijn user (bzjc7r) wel werkt.
De foutmelding is "/bin/switch: Permission denied", wat vreemd is aangezien de user die wel werkt ook deze /bin/switch als shell gebruikt...
Voor zover ik kan zien is die collega zijn user helemaal hetzelfde ingesteld.
Weet iemand hoe ik dit kan oplossen (vooral voor mijn eigen user dan... administrator maakt niet zoveel uit)?
stukje passwd:
/home folder:
login met bzjc7r (werkt wel):
login met hzcv6c (werkt niet):
/bin/switch file:
beetje vreemd is ook dat /home en /usr naar dezelfde folder pointen, maar dat /home precies niet bestaat:
De foutmelding is "/bin/switch: Permission denied", wat vreemd is aangezien de user die wel werkt ook deze /bin/switch als shell gebruikt...
Voor zover ik kan zien is die collega zijn user helemaal hetzelfde ingesteld.
Weet iemand hoe ik dit kan oplossen (vooral voor mijn eigen user dan... administrator maakt niet zoveel uit)?
stukje passwd:
code:
1
2
3
| Administrator:unused_by_nt/2000/xp:500:513:U-RPROBE\Administrator,S-1-5-21-4720103283-1270024338-3808392828-500:/home/Administrator:/bin/switch bzjc7r:unused_by_nt/2000/xp:1029:513:censored,U-RPROBE\bzjc7r,S-1-5-21-4720103283-1270024338-3808392828-1029:/home/bzjc7r:/bin/switch hzcv6c:unused_by_nt/2000/xp:1504:513:censored,U-RPROBE\hzcv6c,S-1-5-21-4720103283-1270024338-3808392828-1504:/home/hzcv6c:/bin/switch |
/home folder:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
| C:\Documents and Settings\Administrator>ls -la /home total 0 drwxr-xr-x+ 11 Administ None 0 Mar 8 08:47 . drwxr-xr-x+ 9 Administ None 0 Dec 9 2008 .. drwxrwxrwx+ 2 Administ None 0 Jun 22 2009 .ssh drwx------+ 4 Administ None 0 Jun 5 2009 Administrator drwxr-x---+ 3 bzjc7r None 0 Jan 20 17:49 bzjc7r drwxr-x---+ 3 hzcv6c None 0 Mar 8 09:09 hzcv6c drwxrwx--x+ 2 Administ None 0 Jan 3 2006 sbin drwxrwx--x+ 3 Administ None 0 Jan 3 2006 share C:\Documents and Settings\Administrator>ls -la /home/hzcv6c total 0 drwxr-x---+ 3 hzcv6c None 0 Mar 8 09:09 . drwxr-xr-x+ 11 Administ None 0 Mar 8 08:47 .. drwxr-x---+ 2 hzcv6c None 0 Mar 8 09:09 .ssh C:\Documents and Settings\Administrator>ls -la /home/hzcv6c/.ssh total 0 drwxr-x---+ 2 hzcv6c None 0 Mar 8 09:09 . drwxr-x---+ 3 hzcv6c None 0 Mar 8 09:09 .. C:\Documents and Settings\Administrator>ls -la /home/bzjc7r total 402 drwxr-x---+ 3 bzjc7r None 0 Jan 20 17:49 . drwxr-xr-x+ 11 Administ None 0 Mar 8 08:47 .. drwxr-x---+ 2 bzjc7r None 0 Jan 20 13:48 .ssh -rwxrwxrwx 1 ???????? None 1600 Jan 20 12:02 DIG.zip -rwxrwxrwx 1 bzjc7r None 167936 Jan 20 16:31 GME_VMware_Citrix_Farm_L B_address.xls -rwxrwxrwx 1 ???????? None 163840 Jan 20 12:01 GME_VMware_Citrix_Farm_N LB_address(1).xls -rwxrwxrwx 1 ???????? None 75044 Jan 20 12:01 GME_VMware_Citrix_Farm_N LB_address.xlsx -rwxrwxrwx 1 ???????? None 1195 Jan 20 12:02 RE_ROARS_47245.txt C:\Documents and Settings\Administrator>ls -la /home/bzjc7r/.ssh total 0 drwxr-x---+ 2 bzjc7r None 0 Jan 20 13:48 . drwxr-x---+ 3 bzjc7r None 0 Jan 20 17:49 .. |
login met bzjc7r (werkt wel):
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| C:\Documents and Settings\Administrator>ssh bzjc7r@localhost
****USAGE WARNING****
This is a private computer system. This computer system, including all
related equipment, networks, and network devices (specifically including
Internet access) are provided only for authorized use. This computer system
may be monitored for all lawful purposes, including to ensure that its use
is authorized, for management of the system, to facilitate protection against
unauthorized access, and to verify security procedures, survivability, and
operational security. Monitoring includes active attacks by authorized entities
to test or verify the security of this system. During monitoring, information
may be examined, recorded, copied and used for authorized purposes. All
information, including personal information, placed or sent over this system
may be monitored.
Use of this computer system, authorized or unauthorized, constitutes consent
to monitoring of this system. Unauthorized use may subject you to criminal
prosecution. Evidence of unauthorized use collected during monitoring may be
used for administrative, criminal, or other adverse action. Use of this system
constitutes consent to monitoring for these purposes.
bzjc7r@localhost's password:
Last login: Tue Mar 8 09:15:36 2011 from 127.0.0.1
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Program Files\OpenSSH\usr\bzjc7r> |
login met hzcv6c (werkt niet):
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| C:\Documents and Settings\Administrator>ssh hzcv6c@localhost
****USAGE WARNING****
This is a private computer system. This computer system, including all
related equipment, networks, and network devices (specifically including
Internet access) are provided only for authorized use. This computer system
may be monitored for all lawful purposes, including to ensure that its use
is authorized, for management of the system, to facilitate protection against
unauthorized access, and to verify security procedures, survivability, and
operational security. Monitoring includes active attacks by authorized entities
to test or verify the security of this system. During monitoring, information
may be examined, recorded, copied and used for authorized purposes. All
information, including personal information, placed or sent over this system
may be monitored.
Use of this computer system, authorized or unauthorized, constitutes consent
to monitoring of this system. Unauthorized use may subject you to criminal
prosecution. Evidence of unauthorized use collected during monitoring may be
used for administrative, criminal, or other adverse action. Use of this system
constitutes consent to monitoring for these purposes.
hzcv6c@localhost's password:
Last login: Tue Mar 8 09:11:24 2011 from 127.0.0.1
/bin/switch: Permission denied
Connection to localhost closed.
C:\Documents and Settings\Administrator> |
/bin/switch file:
code:
1
2
| C:\Program Files\OpenSSH\usr\bzjc7r>ls -la /bin/switch -rwxrwxr-x+ 1 Administ None 11264 Sep 21 2003 /bin/switch |
beetje vreemd is ook dat /home en /usr naar dezelfde folder pointen, maar dat /home precies niet bestaat:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| C:\Program Files\OpenSSH\usr\bzjc7r>ls -la / total 11530 drwxr-xr-x+ 9 Administ None 0 Dec 9 2008 . drwxr-xr-x+ 9 Administ None 0 Dec 9 2008 .. drwxr-xr-x+ 2 Administ None 0 Oct 10 2006 bin drwx------+ 2 czqvr8 None 0 Dec 9 2008 czqvr8 drwxr-xr-x+ 2 Administ None 0 Jan 3 2006 docs drwxr-x---+ 2 Administ None 0 Dec 9 2008 etc -rwxr-xr-x 1 Administ None 11720689 Aug 9 2006 opsware-agent-30c.0.2.19 0-win32-5.2.exe drwxrwxrwx+ 3 Administ None 0 Mar 7 18:32 tmp -rwxr-xr-x+ 1 Administ None 85619 Oct 10 2006 uninstall.exe drwxr-xr-x+ 11 Administ None 0 Mar 8 08:47 usr drwxrwxr-x+ 5 Administ None 0 Jan 25 12:48 var |