How can I have 'root' account as default when mini ubuntu boots (instead of 'ubuntu' account the system uses)
Hello,
You guys have done great job remastering and compiling such a small ubuntu distribution! And all the customization tools…
Thanks a lot for this :)
I have two question.
1. Currently I am trying to use Ubuntu Mini Remix 11.04 (i386) to create bootable USB key that will automatically run couple of different scripts when you boot to the key. I have been using so far SLAX and as it is using ‘root’ as default user it was easy with stuff like mounting and unmounting and creating directories. Switching to ubuntu mini now it is using ‘ubuntu’ account and all the scripts need to be corrected (added sudo in front of commands like mount). I tried to run ‘sudo su’, ‘su -s’, ‘su -i’, ‘su -u’ from inside the first script, but they switch to a different shell(may be I am wrong?) and my script stops. Ho can I overcome this?
Is it possible to modify Ubuntu Mini Remix 11.04, so it will be using ‘root’ account instead of 'ubuntu'?
If not I will need to modify all scripts (it is a lot of work!) and to add ‘sudo’ in front of each command that requires elevated permissions.
I googled for days with no avail.
Could you please point me to a source or give me an advice, please? This is really very important for me.
2. How can I run my script automatically when the system boots?
I added the full path and the script name in '/etc/rc.local', but it did not work.
Is that the correct place / way to auto run a script?
Really appreciate your advise and help.
Best regards,
greatsouls
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- greatsouls
- Solved:
- Last query:
- Last reply: