grep ^root: /etc/passwd
3) Also to actually move into the root director at login, you must simulate a real login with su, as in...su - root
ASKER
ASKER
locate helloworld.c
ASKER
Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.
TRUSTED BY
ls -l / | grep -i root
su root does not reinitialize the login
su - root
should reinitialize the user's parameters and place the account at the root's home dir as defined in /etc/passwd
grep -i root /etc/passwd