LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-02-2005, 02:40 PM   #1
rharris72
Member
 
Registered: Nov 2005
Posts: 32

Rep: Reputation: 15
adding users


is there away of adding user accounts via putty when not logged in as root
 
Old 12-02-2005, 03:08 PM   #2
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
You need to be root to have the privilege necessary to update the systems files when adding users.
 
Old 12-02-2005, 03:10 PM   #3
rharris72
Member
 
Registered: Nov 2005
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
Old 12-02-2005, 03:25 PM   #4
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
you can configure sudo to give the user you are logged on as to have the necessary permissions.
 
Old 12-02-2005, 03:33 PM   #5
rharris72
Member
 
Registered: Nov 2005
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
Old 12-02-2005, 05:51 PM   #6
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Hi,

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

graeme.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding users Abbaddon Linux - Newbie 7 09-01-2004 04:30 AM
adding users... Digital_Err0r Linux - General 1 03-31-2004 03:08 PM
adding users Lucasite Linux - Newbie 3 03-04-2004 11:30 AM
Adding new users Fried Linux - Newbie 4 09-24-2001 10:37 AM
Adding users... philfighter Linux - General 3 07-23-2001 10:48 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration