change defalt usernameForum: Other Help Topics Topic: change defalt username started by: new_user_lol Posted by new_user_lol on Sep. 07 2005,13:19
Hey. i want to change the defalt username for dsl when you start from a cd and when it is installedhow could i do that? Posted by mikshaw on Sep. 07 2005,19:32
/.bash_profile:change sudo dsl to sudo whatever Keep in mind that an added user will not be able to do the same things that dsl can, such as installing myDSL apps. A better option, if you really want to have a different username, is to run usermod on your new user, overwriting dsl by setting the same user ID and group ID (1001,50), and keeping the same /home/dsl directory as your home. I don't know if this will give you ALL of the same rights that dsl has...some things might use the actual user name rather than user ID. Posted by new_user_lol on Sep. 08 2005,05:51
installation of mydsl apps isnt a prob any other probs?
Posted by mikshaw on Sep. 08 2005,15:04
The "sudo dsl" above should have read "su - dsl"...my mistake.I can't think of anything that would pose a serious problem. If you already have a new user added, I'd say go ahead and change the /.bash_profile and see how it goes....i doubt anything will break. Posted by new_user_lol on Sep. 10 2005,13:24
i changed that file and now all i get is an error pretty much saying that it cant find /home/usernameand then it asks for a password even tho there isnt one on the account Posted by mikshaw on Sep. 10 2005,14:26
Every user needs a home directory. Did you make one? The password might be required for su to work...just a guess, since i've never had multiple users in DSL.
Posted by new_user_lol on Sep. 11 2005,00:55
where should i be creating the home directory so it coppys into /ramdisk/home and how to i make dsl copy the skel profile in there?is there a couple of scripts somware that i can edit? Posted by mikshaw on Sep. 11 2005,01:47
Using the adduser command as root *should* ask for a home directory (providing the default as /home/username). You should not need to manually edit files when adding new users.
Posted by new_user_lol on Sep. 11 2005,02:23
i re-created the account but im still getting < http://users.tpg.com.au/nick05/wft.png > |