LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   adding users (https://www.linuxquestions.org/questions/programming-9/adding-users-388703/)

rharris72 12-02-2005 02:40 PM

adding users
 
is there away of adding user accounts via putty when not logged in as root

eddiebaby1023 12-02-2005 03:08 PM

You need to be root to have the privilege necessary to update the systems files when adding users.

rharris72 12-02-2005 03:10 PM

ok thanks so if i was writing a script to set up game server and then wanted to also setup ftp access the ftp access bit could only be done by root or using webmin instead

graemef 12-02-2005 03:25 PM

you can configure sudo to give the user you are logged on as to have the necessary permissions.

rharris72 12-02-2005 03:33 PM

yeah but doesnt sudo require you to enter a password before it will execute command i want it to do it automatic

it doesnt matter if its not poss as can use webmin

graemef 12-02-2005 05:51 PM

Hi,

Normally that woudl be true but you can use the -S switch to enter the password from stdin rather than the console.

graeme.


All times are GMT -5. The time now is 06:34 PM.