LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-06-2005, 08:47 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Adding a regular user to GNOME and fluxbox


I installed GNOME and FLUXBOX as a root user on my system. Now I would like to add a regular user called 'test' on my system so that the user can log into GNOME and FLUXBOX.

I tried adding a user by the following command from a console.

debian#adduser test

Although it added user and every thing the system does not allow me to log into GNOME and FLUXBOX. It gives some permission error.,

Where did I go wrong?

Thanks
 
Old 11-06-2005, 09:58 PM   #2
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Maybe 'test' is not a name to use for a user, try a different name.
 
Old 11-06-2005, 10:28 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
I tried my own name also. But the result is the same. Do I have to add the user into the 'wheel' or 'root' group?

Thanks
 
Old 11-06-2005, 10:39 PM   #4
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Try this one, useradd username. You are doing this as root?
 
Old 11-06-2005, 11:21 PM   #5
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
I misread your post. You was able to add a user but can't log in using it? Not quite sure the problem but try this link, adding users . It may be of help.
 
Old 11-06-2005, 11:25 PM   #6
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Yes I am trying with root. It seems that in the /home/user directory all the conf file (dot files) like .gnome .gconf .XAuthority etc are not being copied into the directory?

Also it gives me the following error message:

mkdtemp : private sock dir: Permission denied

Did I messed up with some settings?

thanks

Last edited by kushalkoolwal; 11-06-2005 at 11:33 PM.
 
Old 11-07-2005, 02:03 AM   #7
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Those conf files(.files) will be created when the user signs in and start using programs.


I'm not quite sure but check to see what is the permission for /tmp.

For what it's worth, the normal permissions on /tmp are owner root, group root, mode 1777 (rwxrwxrwt in 'ls -l' output).

Hope this helps.
 
Old 11-07-2005, 07:33 PM   #8
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Awesome.Dude. You are simply great Excellent. I did that and I was able to log into the system with a normal user.

BTW,What does '1' in 1777 do?

Thanks once again.
 
Old 11-07-2005, 11:59 PM   #9
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Setting the "sticky bit" on directories.

Permission 1777 means the only people who can rename or remove any file in that directory are the file's owner, the directory's owner and the superuser.
 
  


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
Wine as regular user scouture Linux - Software 2 03-11-2005 09:49 PM
Why isn't Gnome working for my regular user? enigma Z Linux - Software 2 09-15-2004 11:25 PM
Can't Login As Regular User After Trying... drdroid Linux - General 8 02-08-2004 11:30 AM
Can't log in as regular user Fugazi Linux - Newbie 1 12-27-2003 04:07 PM
How do I login as a regular user? hitbob Linux - Newbie 2 10-04-2003 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:34 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