LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-09-2006, 05:54 AM   #1
Osirix
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Rep: Reputation: 0
Is There Anyone Still Using Suse 9.3? Please Help... zzz


In Suse9.3, is it possible to add a user via directly editing the file /etc/passwd?

I manually inserted a new line below into the passwd file:
exuser::3:3::/:/bin/bash

But when I
>su exuser
in bash, there is no prompt of entering any password, and it just prompted
su: incorrect password

Well, I suppose the password for this new user should be blank. ...What's possibly going wrong?

Is there anyone having a test of this?


Many 3ks!
 
Old 07-09-2006, 07:19 AM   #2
nlinecomputers
Member
 
Registered: Aug 2005
Location: Midland, TX
Distribution: Ubuntu
Posts: 125

Rep: Reputation: 15
You need to use the useradd command.

Or use yast.
 
Old 07-09-2006, 01:56 PM   #3
Osirix
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Well, I am just curious about this. Because I can add user in this way under many other Linux OSs but only except this Suse 9.3....why?
 
Old 07-09-2006, 02:17 PM   #4
nlinecomputers
Member
 
Registered: Aug 2005
Location: Midland, TX
Distribution: Ubuntu
Posts: 125

Rep: Reputation: 15
Because Suse uses shadow password files, usually blowfish, and su is only granted to known users. You can manually edit a bunch of files but why bother. That is what the useradd program is for, and you can run if from a script.
 
  


Reply



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
Netscape could not find server www.XXX.ZZZ Sam1 Linux - Networking 3 04-25-2002 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:46 PM.

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
Open Source Consulting | Domain Registration