| View previous topic :: View next topic |
| Author |
Message |
cranbury
Joined: 29 Nov 2007 Posts: 4
|
Posted: Thu Nov 29, 2007 5:59 pm Post subject: root vs regular account |
|
|
Dear all,
need your help, How can I login in as a regular user not root? whenever I open a
new terminal, I became root automatically. I can use "sudo passwd root" to set paasword for root and
adduser to setup another account, but I never need to login in.
Thanks!
Cranbury |
|
| Back to top |
|
 |
cranbury
Joined: 29 Nov 2007 Posts: 4
|
Posted: Thu Dec 06, 2007 7:40 pm Post subject: Come on, Guys! |
|
|
Is my question too dumb to answer? I apologize if that is the case. I had an application which is
NOT recommended to be installed under the "root" account since I am going to run http
server. I want to know how to set up and login in as regular user. |
|
| Back to top |
|
 |
kalle
Joined: 30 Aug 2007 Posts: 10
|
Posted: Sun Dec 09, 2007 11:49 am Post subject: |
|
|
I added a user,nisse, and then changed the last line in: /usr/bin/X11/startwindowsterminalsession
sux - root ${termcommand} $parameters
to
sux - nisse ${termcommand} $parameters |
|
| Back to top |
|
 |
russianbandit
Joined: 27 Feb 2008 Posts: 3
|
Posted: Thu Feb 28, 2008 4:06 pm Post subject: |
|
|
| kalle wrote: |
sux - nisse ${termcommand} $parameters |
This works, however, after i set it to a user other than root, I am no longer able to bring up the terminal. I get that "Cannot connect to <some ip>" pop-up error. Also the boot logs say that there was a socket problem.
As soon as I changed it back to: sux - root ... then everything works normal again.
Is there another way to make your terminal come up as a non-root user? |
|
| Back to top |
|
 |
Joachim
Joined: 22 Jun 2007 Posts: 98 Location: Paderborn, Germany
|
Posted: Thu Feb 28, 2008 5:47 pm Post subject: |
|
|
| russianbandit wrote: | | kalle wrote: |
sux - nisse ${termcommand} $parameters |
This works, however, after i set it to a user other than root, I am no longer able to bring up the terminal. I get that "Cannot connect to <some ip>" pop-up error. Also the boot logs say that there was a socket problem. |
That's why only root can open ports below 1024, and the launcher uses 81. You may change the launcher port on the Linux side be editing /usr/local/sbin/launcher.pl and on the Windows side as described here: http://www.andlinux.org/faq.php |
|
| Back to top |
|
 |
russianbandit
Joined: 27 Feb 2008 Posts: 3
|
Posted: Thu Apr 03, 2008 4:28 pm Post subject: |
|
|
So what I tried to do was:
In .bashrc file add a line
In ideal that should work, no problem.
However, the "Cannot connect to <some ip>" pop-up error returned and I could not get rid of it.
Why is that happening?
Notice that as soon as i deleted the added line from .bashrc, the terminal launcher began working again.
What is the solution here, I would love the terminal to start as a non-root user. |
|
| Back to top |
|
 |
|