On Tue, Nov 13, 2012 at 10:34 AM, Chris Knadle <[email protected]>wrote:

>
> On Ubuntu users are expected to run root-level scripts/programs via sudo,
> and
> not use su *because there's no root account* -- while it's parent Debian
> tends
> to focus on using su more often than sudo.  There are arguments as to
> which is
> "more secure", and I haven't seen a definitive conclusion on that.



I am really just learning the Ubuntu ropes, but I wondered about that -
particularly since I actually did su to root when playing around with the
original post:

jack@Dell-Dimension:~$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh

jack@Dell-Dimension:~$ su -
Password:
root@Dell-Dimension:~# pwd
/root
root@Dell-Dimension:~# id
uid=0(root) gid=0(root) groups=0(root)
root@Dell-Dimension:~#

Now - to be completely forthcoming, in order to do this I initially had to
issue "sudo passwd root" and set the root password, but Ubuntu does appear
to have a root UID. . Am I missing something here?

JC
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         Vassar College
  Dec 5 - SysAdmin Panel
  Jan 9 - High Performance Computing
  Feb 6 - February Meeting

Reply via email to