How to add a super user?
How to add a super user has all rights and is almost as powerful as root user?
You can use cdrom, shutdown the computer, restart, mount and access windows partition etc. Thanks for help. |
users can do all that... you just need to set up your system to do so.
|
Can you tell me how to add a user? I only use root now. I don't have other user account.
Thank you. |
Quote:
useradd <username> then make a password: passwd <username> then log in with that user, and do "su" to gain root privileges when you need to. |
adduser
EDIT: And there is some visudo file that I've been trying to play with so my regular user can shutdown, and mount cdroms and such. No luck yet though. |
You can also use "adduser" which leads you through a little dialog to add the user.
Edit: snap :) For regular users to be able to mount cdroms and other partitions, you need to edit /etc/fstab. Not sure about shutting down, but I remember a thread about it not too long ago. |
one of them makes all the /home directories and so on, but i always get it mixed up which is which. :p i think you're right it is adduser, which gives the prompts. :)
|
Thanks guys.
I wonder why it is a bad idea to use root.:scratch: |
Quote:
1. insecure (unsecure? not secure? :p) 2. you can make mistakes and mess up your system |
Because you have write privileges over the entire file system and one wrong command (rm -fr * :)) can delete a whole bunch of stuff that you need for the OS to run... plus from what I understand it's not good from a security perspective to run processes as root all the time.
Edit: I gotta learn to type faster. :D |
i c.:newbie:
|
synaptical, what font do you use in the console of your screenshot of your sig.
|
Quote:
#What to do at the "Three Finger Salute" ca::ctrlaltdel:/sbin/shutdown -h now |
adduser is the Slackware script which gives the prompts for setting up a new user. It uses useradd which is a generic binary. Use adduser.
I've been working on setting up a 3-tiered user system. What I mean is to have root, powerful user and regular users. visudo is a command to edit the /etc/sudoers file where this can all be setup. there is group called wheel which is apparently meant for this. So adding my own 'user' account to the group 'wheel' lets me give more authority to my own user account while limiting regular users (those in the group 'users') to more normal permissions. |
Quote:
(e.g.: xterm -fn 9x15) |
All times are GMT -5. The time now is 03:07 PM. |