How can I log as root user?
I already enabled the root user, created a password but when the login window appears, I cannot login.
I tried the names "root", "Admin", "System Administrator", no one works.
Help, please.
Mac OS X (10.7)
I already enabled the root user, created a password but when the login window appears, I cannot login.
I tried the names "root", "Admin", "System Administrator", no one works.
Help, please.
Mac OS X (10.7)
i know I shouldn't ask this, but why do you need to login as the root user?
To make modifications in some programs.
You forgot your root user password? 😮
Well you can reboot into Single User mode and try to reset the password.
Don't know if this will work in Lion or not. Print it out.
The Easy Password Reset Way. (no disk required)
1: Reboot the machine holding Command and S keys, you'll boot into single user mode (it's Root user so be careful)
2: Type in each command below followed by Enter or Return
fsck -fy
mount -uw /
passwd "username"
(where "username" is the users name of the password your trying to change)
Example:
fsck -fy
mount -uw /
passwd johnnyboy
If you don't know the name of the users then enter
ls /Users/
and you'll see three items: .localized, Shared, and a "username"
When done
exit
or
reboot
(note: if a firmware password is set, this or c booting from theinstaller cd will not work)
Don't create a root user. There is no need. Use "sudo" instead.
I don't know how to use the Terminal.
Thanks
I remember my password.
In Snow Leopard, this works great, the name of the user is root and then you put the password.
In Lion, I'm using the name root but I Can't login.
Then you should not be using the root user nor making changes to applications. If you need to launch an application with root privileges then try using LaunchAsRoot 1.0.
I will try this, thanks.
I'm trying to edit the hosts file by using LaunchAsRoot but it keeps crashing when I try it. I'm using Lion. Any idea why?
what does root user mean, if you don't mind,,im still learning the language of these forums
@Tina_5617 wrote:
what does root user mean, if you don't mind,,im still learning the language of these forums
On Unix based systems the 'root' user is the most privileged account. It generally do not have any restrictions. It can generally access any file, modify any file, delete any file, create any file, change file ownership, change file permissions, access the memory of other processes, etc...
All other accounts are normal users which must follow the rules for file ownership and permissions.
An 'admin' account is an account that is part of the 'admin' group. And the 'admin' is allowed to execute commands as the 'root' account, after entering their account's password.
The first account created on a Mac is an 'admin' account. You can add additional admin users via System Preferences -> Users & Groups
Until Apple implement SIP (System Integrity Protection), this was the situation for the 'root' account. After SIP was implemented, there is a set of files that even 'root' cannot modify. This was Apple's way to prevent users breaking the operating system by making changes they should not, and keeping malware from doing some (not all) bad things to a Mac's software.
How can I log as root user?