xff
Active Member
Ich hab ein ganz seltsames problem mit meine FreeBSD 6.0RELEASE. Ich hab den user 'casher' ganz normal geaded. Aber wenn ich mich mit dem user casher einlogen will bekomme ich die folgende meldung:
In /etc/ hab ich die folgenden permisions:
In /etc/passwd
In /etc/master.passwd
Kann mir jemmand ein Vorschlag geben?
PHP:
-bash: /etc/profile: Permission denied
I have no name!@FreeBSD$ whoami
1016
PHP:
root@FreeBSD# ls -l
total 494
-rw-r--r-- 1 root wheel 2815 Jul 9 2005 DIR_COLORS
-rw-r--r-- 1 root wheel 2815 Jul 12 2005 DIR_COLORS.xterm
drwxr-xr-x 2 root wheel 512 Jul 5 2005 X11
lrwxr-xr-x 1 root wheel 12 Jun 11 2005 aliases -> mail/aliases
-rw-r--r-- 1 root wheel 209 May 8 2005 amd.map
-rw-r--r-- 1 root wheel 1234 May 8 2005 apmd.conf
-rw-r--r-- 1 root wheel 231 May 8 2005 auth.conf
drwxr-xr-x 2 root wheel 512 Jun 11 2005 bluetooth
-rw-r--r-- 1 root wheel 737 May 8 2005 crontab
-rw-r--r-- 1 root wheel 142 Jun 16 2005 csh.cshrc
-rw-r--r-- 1 root wheel 481 May 8 2005 csh.login
-rw-r--r-- 1 root wheel 110 May 8 2005 csh.logout
drwxr-xr-x 2 root wheel 512 Jun 11 2005 defaults
-rw-r--r-- 1 root wheel 4846 May 8 2005 devd.conf
-rw-r--r-- 1 root wheel 2071 May 8 2005 devfs.conf
-rw-r--r-- 1 root wheel 132 Jan 2 22:50 devfs.rules
-rw-r--r-- 1 root wheel 267 May 8 2005 dhclient.conf
-rw-r--r-- 1 root wheel 6621 May 8 2005 disktab
-rw-r--r-- 1 root operator 0 May 8 2005 dumpdates
-rw-r--r-- 1 root wheel 142 May 8 2005 fbtab
drwxr-xr-x 2 root wheel 512 Jun 17 2005 firewall
-rw-r--r-- 1 root wheel 284 Jan 6 17:56 fstab
-rw-r--r-- 1 root wheel 245 May 8 2005 ftpusers
-r--r--r-- 1 root wheel 5904 Jan 10 23:37 gettytab
drwxr-xr-x 2 root wheel 512 Jun 11 2005 gnats
-rw-r--r-- 1 root wheel 440 Jan 10 22:41 group
-rw-r--r-- 1 root wheel 60 Jun 11 2005 host.conf
-rw-r--r-- 1 root wheel 145 Jan 12 01:31 hosts
-rw-r--r-- 1 root wheel 3186 Jan 6 18:07 hosts.allow
-rw-r--r-- 1 root wheel 111 May 8 2005 hosts.equiv
-rw-r--r-- 1 root wheel 99 May 8 2005 hosts.lpd
-rw-r--r-- 1 root wheel 5389 Jan 6 03:06 inetd.conf
drwx------ 2 root wheel 512 Jun 11 2005 isdn
-r--r--r-- 1 root wheel 801 Oct 12 13:14 localtime
-rw-r--r-- 1 root wheel 619 May 8 2005 locate.rc
-rw-r--r-- 1 root wheel 1847 May 8 2005 login.access
-rw-r--r-- 1 root wheel 6542 Nov 7 17:17 login.conf
-rw-r--r-- 1 root wheel 564 May 8 2005 mac.conf
drwxr-xr-x 2 root wheel 512 Sep 12 23:54 mail
-rw-r--r-- 1 root wheel 106 May 8 2005 mail.rc
-rw-r--r-- 1 root wheel 74 Dec 24 12:48 make.conf
-rw-r--r-- 1 root wheel 74 Jun 11 2005 make.conf.bak
-rw-r--r-- 1 root wheel 1087 Dec 24 12:48 manpath.config
-rw-r--r-- 1 root wheel 1087 Jun 11 2005 manpath.config.bak
-rw------- 1 root wheel 2006 Jan 10 23:31 master.passwd
-rw-r--r-- 1 root wheel 829 Dec 24 14:02 motd
drwxr-xr-x 2 root wheel 512 Jun 11 2005 mtree
lrwxr-xr-x 1 root wheel 23 Jun 11 2005 namedb -> ../var/named/etc/namedb
-rw-r--r-- 1 root wheel 543 Jan 5 17:21 natd.conf
-rw-r--r-- 1 root wheel 783 May 8 2005 netconfig
-rwxr-xr-x 1 root wheel 2413 Jul 9 2005 netstart
-rw-r--r-- 1 root wheel 13696 May 8 2005 network.subr
-rw-r--r-- 1 root wheel 365 May 8 2005 networks
-rw-r--r-- 1 root wheel 1937 May 8 2005 newsyslog.conf
-rw------- 1 root wheel 1697 Jun 22 2005 nsmb.conf
-rw-r--r-- 1 root wheel 113 Jun 11 2005 nsswitch.conf
drwx------ 2 root wheel 512 May 8 2005 ntp
-rw------- 1 root wheel 432 May 8 2005 opieaccess
-rw-r--r-- 1 root wheel 0 Jun 11 2005 opiekeys
-rw-r--r-- 1 root wheel 163 Jan 10 23:23 pam.conf
drwxr-xr-x 2 root wheel 512 Jun 11 2005 pam.d
-rw-r--r-- 1 root wheel 1668 Jan 10 23:32 passwd
-rwxr-xr-x 1 root wheel 5814 May 8 2005 pccard_ether
drwxr-xr-x 6 root wheel 512 Jun 11 2005 periodic
-rw-r--r-- 1 root wheel 3567 May 8 2005 pf.conf
-rw-r--r-- 1 root wheel 22556 May 8 2005 pf.os
-rw-r--r-- 1 root wheel 293 May 8 2005 phones
-r--r--r-- 1 root wheel 3888 Dec 21 13:25 ports-supfile
drwxr-xr-x 2 root wheel 512 Jun 11 2005 ppp
-rw-r--r-- 1 root wheel 2058 May 8 2005 printcap
-r--r--r-- 1 root wheel 619 Jan 10 23:18 profile
-rw-r--r-- 1 root wheel 5807 May 8 2005 protocols
-rw-r--r-- 1 root wheel 40960 Jan 10 22:41 pwd.db
-rwxr-xr-x 1 root wheel 2716 May 8 2005 rc
-rw-r--r-- 1 root wheel 5298 May 8 2005 rc.bsdextended
-rw-r--r-- 1 root wheel 1681 Jan 13 01:23 rc.conf
drwxr-xr-x 2 root wheel 2560 Jun 11 2005 rc.d
-rw-r--r-- 1 root wheel 9569 May 8 2005 rc.firewall
-rw-r--r-- 1 root wheel 8905 May 8 2005 rc.firewall6
-rwxr-xr-x 1 root wheel 1334 Jan 12 01:23 rc.ipfw
-rwxr-xr-x 1 root wheel 2165 May 8 2005 rc.resume
-rw-r--r-- 1 root wheel 5785 May 8 2005 rc.sendmail
-rw-r--r-- 1 root wheel 3211 May 8 2005 rc.shutdown
-rw-r--r-- 1 root wheel 30905 May 8 2005 rc.subr
-rwxr-xr-x 1 root wheel 2209 May 8 2005 rc.suspend
-rw-r--r-- 1 root wheel 2392 May 8 2005 remote
-rw-r--r-- 1 root wheel 56 Jan 10 23:34 resolv.conf
-rw-r--r-- 1 root wheel 48 Dec 29 17:06 resolv.conf.save
lrwxr-xr-x 1 root wheel 13 Jun 11 2005 rmt -> /usr/sbin/rmt
-rw-r--r-- 1 root wheel 1674 May 8 2005 rpc
drwxr-xr-x 3 root wheel 512 Jun 24 2005 samba
-rw-r--r-- 1 root wheel 73410 Jan 6 18:08 services
-rw-r--r-- 1 root wheel 237 Jun 11 2005 shells
drwxr-xr-x 2 root wheel 512 May 8 2005 skel
-rw------- 1 root wheel 40960 Jan 10 22:41 spwd.db
drwxr-xr-x 2 root wheel 512 Jun 11 2005 ssh
drwxr-xr-x 2 root wheel 512 Jun 11 2005 ssl
-rw-r--r-- 1 root wheel 453 Dec 29 17:30 sysctl.conf
-rw-r--r-- 1 root wheel 1339 May 8 2005 syslog.conf
lrwxr-xr-x 1 root wheel 23 Jun 11 2005 termcap -> /usr/share/misc/termcap
-rw-r--r-- 1 root wheel 7663 Jan 10 23:40 ttys
-rw-r--r-- 1 root wheel 2032 May 8 2005 usbd.conf
-r--r--r-- 1 root wheel 0 Oct 12 13:14 wall_cmos_clock
-rw------- 1 root wheel 155 Jan 2 17:03 yasuc.conf
PHP:
casher:*:1016:1016:Name:/home/casher:/usr/local/bin/bash
PHP:
casher:password.:1016:1016::0:0:name:/home/casher:/usr/local/bin/bash
PHP:
root@FreeBSD# finger casher
Login: casher Name: Name
Directory: /home/casher Shell: /usr/local/bin/bash
PHP:
root@FreeBSD# uname -a
FreeBSD FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sat Dec 24 13:29:51 CET 2005 [email]root@FreeBSD.XXx.XxX.XxX[/email]:/usr/src/sys/i386/compile/FreeBSD i386
Kann mir jemmand ein Vorschlag geben?
Zuletzt bearbeitet: