User forums > General (but related to Code::Blocks)
Linux distro for devs?
Der Meister:
--- Quote from: Pecan on December 16, 2006, 06:54:20 pm ---How can I add a user other than root? It has no adduser app that I can find.
--- End quote ---
Normally this programm should be called "useradd" ;)
Pecan:
--- Quote from: Der Meister on December 16, 2006, 07:40:48 pm ---
--- Quote from: Pecan on December 16, 2006, 06:54:20 pm ---How can I add a user other than root? It has no adduser app that I can find.
--- End quote ---
Normally this programm should be called "useradd" ;)
--- End quote ---
Thanks, I added a user 'pecan'. But I can't figure out how to run as pecan.
It's funny my unix book didn't even show me how to add a user.
andLinux boots as root. When I use the X termininal app to login as pecan, the file manger still starts up as root.
Very confusing. Do you always have to run as root in andLinux?
That wouldn't help me debug CB very well.
Der Meister:
--- Quote from: Pecan on December 16, 2006, 07:50:45 pm ---Thanks, I added a user 'pecan'. But I can't figure out how to run as pecan.
--- End quote ---
This should do the trick:
--- Code: ---su pecan -
--- End code ---
tiwag:
--- Quote from: Pecan on December 16, 2006, 07:50:45 pm ---
--- Quote from: Der Meister on December 16, 2006, 07:40:48 pm ---
--- Quote from: Pecan on December 16, 2006, 06:54:20 pm ---How can I add a user other than root? It has no adduser app that I can find.
--- End quote ---
Normally this programm should be called "useradd" ;)
--- End quote ---
Thanks, I added a user 'pecan'. But I can't figure out how to run as pecan.
It's funny my unix book didn't even show me how to add a user.
andLinux boots as root. When I use the X termininal app to login as pecan, the file manger still starts up as root.
Very confusing. Do you always have to run as root in andLinux?
That wouldn't help me debug CB very well.
--- End quote ---
yes, the startup of andLinux is a bad hack:
the xfce panel is started from the
startwindowsterminalsession script
andLinux boot startup files:
/etc/inittab
#Startup application
C0::respawn:/usr/bin/X11/startwindowsterminalsession
/usr/bin/X11/startwindowsterminalsession
termcommand=`cat /etc/winterm`
...
sux - root ${termcommand} $parameters
/etc/winterm
/usr/bin/xfce4-panel
i removed the execution of startwindowsterminalsession from /etc/inittab
and then andLinux just boots and i do a login to my user
with putty terminal from windows. this works just fine.
if i need xfce i start it from another shell script with user-rights.
brgds, tiwag
Pecan:
--- Quote from: tiwag on December 18, 2006, 08:17:09 am ---<snip>
i removed the execution of startwindowsterminalsession from /etc/inittab
and then andLinux just boots and i do a login to my user
with putty terminal from windows. this works just fine.
if i need xfce i start it from another shell script with user-rights.
brgds, tiwag
--- End quote ---
thanks tiwag, I'll make those mods today.
andLinux really makes it convienient to do the CB write/test/modify cycle.
I installed samba, and now have shared file accessabilty with windows. Very convenient.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version