SUSE 9.1 - Problems with Adding new users plz help

 
Thread Tools Search this Thread
Operating Systems Linux SuSE SUSE 9.1 - Problems with Adding new users plz help
# 1  
Old 07-22-2005
SUSE 9.1 - Problems with Adding new users plz help

Hi every one,

I recently installed Suse 9.1 and added two users during installation with out problems.

I have tried to add another user using the following cmd: 'useradd pite' and 'passwd xxxx' and got a message new user and password added.

But when i tried to create a directory using cmd:'mkdir /home/pite/public_html' , i got an error message "file or directory doesnt exist".

I went to konqueror and the user i created is not listed.

I tried to change users by selecting >>start then >>switch users. The new user is listed; but when i tried to log in using the new user, the following error messages were displayed:

" There was an error setting up inter-process communications for KDE. The message returned by the system was: could not read network connection list.
//.DCOPserver_linux_2
Please check that the "dcopserver" program is running!

I clicked ok and another error message: " will not save configuration.
configuration file"//.kde/share/config/ksplashrc" not writable.

configuration file"//.kde/share/config/kdeglobals" not writable.

I clicked ok and another error message: "The following installation problem was detected while trying to start KDE:
No write access to $HOME directory (/).

KDE is unable to start.

clicked ok and another error message:

Could not start ksmserver. check your installation.

Please do help, i don't want to mess up my system. I want to point out that i have been using Linux for about a month.

regards,

sybella
# 2  
Old 07-23-2005
Hi every one,
I just wanted to say that i found the solution to my problem. I just entered:

"chown pite:users /home/pite " with root password.

regards;
sybella
# 3  
Old 07-26-2005
If you use useradd with the -m option (and optionally -d) - see the manual page, it'll create the home directory, and set the appropriate permissions.

Whilst you're still finding your feet with Linux, you could use a graphical configuration tool such as YaST (for SUSE) for major system changes until you're comfortable with the command line.

Good luck! Smilie

Cheers
ZB
# 4  
Old 07-27-2005
Don't use adduser.
Instead you can use useradd.

root@hostname:/tmp# adduser
Enter a username to add: test
Adding user `test'...
Adding new group `test' (1008).
Adding new user `test' (1008) with group `test'.
Creating home directory `/home/test'.
Copying files from `/etc/skel'
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for test
Enter the new value, or press ENTER for the default
Full Name []: test
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [y/N] y
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Adding users from a txt fille

hello i'm making a bash script for adding users from a txt fille i have a basic script that adds users and their password . when you type the users by hand , now i want to upgrade my script with a txt file of users and their password , but i don't know how to start . my txt file looks... (10 Replies)
Discussion started by: Roggy
10 Replies

2. AIX

adding users via smit

I apologize if this is a simple/stupid question. When I add users in smit as root, many(most) of the fields are automatically popluated with some basic default values. Some other admins here have access to create users via sudo, however when they create users (sudo smit users), the user gets... (3 Replies)
Discussion started by: mshilling
3 Replies

3. Linux

Unable to login with Domain users in the Suse linux

Hi Team, I have joined the Suse Linux Server in my domain. I am not able update the DNS but I am able to join the domain. net ads testjoin gives me Join ok. even net ads dns register -P results to DNS update failed. wbinfo -u and wbinfo -g also not working. Samba Configuration: ... (1 Reply)
Discussion started by: naree
1 Replies

4. UNIX for Dummies Questions & Answers

Adding users question

Hello there, I want to add new users to my system, so, being logged in as root I do useradd -m user_name, and the new user is added to the system. The problem is that it has more privileges than I expected. If I do su user_name then I am allowed to do cat /etc/passwd , so it is... (4 Replies)
Discussion started by: help.goes.here
4 Replies

5. HP-UX

Users problems

Hi everybody! We have created a user, like another one that works well. But this "bad" user cannot loggin into an application that is running on informix bbdd. When the user try to loggin, it appears an error message: "killed" and logout. Do you know what can we do? where can we find the... (2 Replies)
Discussion started by: faca317
2 Replies

6. UNIX for Dummies Questions & Answers

Adding users to /etc/group

I'm using SAM to add users on an HP and they're adding fine. But in /etc/group it only lists the group names. It's not adding the users in there. Is there a way to have them put in there without going into SAM and modifying the group and adding them? I guess what I want to happen is when I add... (1 Reply)
Discussion started by: golfhakker
1 Replies

7. SuSE

SUSE 9 - problems accessing CD ROM drive

I've got SUSE 9 installed on a removable hard drive and the system is up and running fine. I'm trying to copy stuff off a CD onto one of my Linux partitions but I am getting an errors : * Could not read /media/cdrom/file1.tar.tar I can browse to the file location on the CD by using the... (11 Replies)
Discussion started by: GandalfWhite
11 Replies

8. Shell Programming and Scripting

Adding users

Anyone have a simple shell script that will prompt and accept screen input for each field that is required in the /etc/passwd file? (3 Replies)
Discussion started by: Relykk
3 Replies

9. UNIX for Advanced & Expert Users

Suse Linux mount problems ?

We are experiencing several startup problems at boot time. In our /etc/rc.d/boot script we have "swapon -a -v &> /dev/null/' (without the quotes). We have also added echo statements to make it visible on the HMC during IPL. The echo statements are seen but there no messages for the swapon... (1 Reply)
Discussion started by: darthur
1 Replies

10. UNIX for Dummies Questions & Answers

a world of suse linux problems

1) how do i disable the graphic login in suse linux? 2) how do i disable the graphic boot-up in suse linux? 3) how do i disable the graphic console in suse linux? i think disabling graphic console will disable graphic booting, but what do i know, eh? 4) where is the dhcpcd directory and... (2 Replies)
Discussion started by: nydel
2 Replies
Login or Register to Ask a Question