[SunHELP] what is going on?

Edward Chase echase at studentweb.providence.edu
Thu Feb 13 16:00:05 CST 2003


Why the colon in your "chown" command?

Also, you're talking about changing ownership, but showing us your 
/etc/group file...

Oh wait, I see what you're doing.  Just for kicks have you tried?

chown root:sys /var/empty
or
chgrp sys /var/empty



At 04:58 PM 2/13/2003 -0500, Bob Ababurko wrote:
>Hello all-
>
>
>  I am in need of a check.  I am trying to chown the group ownership of a 
> file by:
>
># chown :sys /var/empty
>chown: unknown user id: :sys
>
># ls -al /var
>total 34
>drwxr-xr-x  31 root          512 Feb 12 14:20 .
>drwxr-xr-x  24 root         1024 Feb 13 16:39 ..
>drwxrwxr-x   9 root          512 Feb  9 03:10 adm
>drwxr-xr-x   8 root          512 Jan 17 01:52 apache
>drwxr-xr-x   2 root          512 Jan 17 00:36 audit
>drwxr-xr-x   3 root          512 Jan 17 01:43 crash
>drwxr-xr-x   2 root          512 Jan 17 01:43 cron
>drwxr-xr-x   5 root          512 Jan 17 01:23 dmi
>drwxrwxr-x   6 root          512 Feb 12 19:31 dt
>drwxr-xr-x   2 root          512 Feb 12 14:20 empty
>drwxr-xr-x   2 root          512 Jan 17 00:36 inet
>drwxr-xr-x   2 root          512 Jan 17 00:36 ld
>drwxr-xr-x   2 root          512 Jan 17 01:15 ldap
>
># more /etc/group
>root::0:root
>other::1:
>bin::2:root,bin,daemon
>sys::3:root,bin,sys,adm
>adm::4:root,adm,daemon
>uucp::5:root,uucp
>mail::6:root
>tty::7:root,tty,adm
>lp::8:root,lp,adm
>nuucp::9:root,nuucp
>staff::10:
>daemon::12:root,daemon
>sysadmin::14:
>nobody::60001:
>noaccess::60002:
>nogroup::65534:
>sshd::100:
>
>When I do a ls -l, I do not see the group ownership of the files(as seen 
>above).  What is going on?
>
>/bob


More information about the SunHELP mailing list