Hello,
New user on Porteus - very happy with KDE/Plasma desktop and WiFi and VPN support under the 2.0 64k release.
Quick question: as the subject title says I would like to now how to set up a new user.
Thanks
Smoris
How to set up a new user on v2.0 - 64k
- fanthom
- Moderator Team
- Posts: 5591
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: How to set up a new user on v2.0 - 64k
root and guest accounts are hardcoded in some of our scripts/tools so it's the best to just change guest's password instead of creating completely new profile.
please open terminal -> run 'passwd' command -> set new password -> switch to root with 'su' (password is 'toor') -> run:
then move passwd.xzm to /porteus/modules folder on your booting media.
please open terminal -> run 'passwd' command -> set new password -> switch to root with 'su' (password is 'toor') -> run:
Code: Select all
mkdir -p /tmp/passwd
cp -a --parents /etc/shadow /tmp/passwd
dir2xzm /tmp/passwd /home/guest/Desktop/passwd.xzm
Please add [Solved] to your thread title if the solution was found.
Re: How to set up a new user on v2.0 - 64k [SOLVED]
got it - thanks.
-
- Ronin
- Posts: 1
- Joined: 26 Feb 2013, 15:47
- Distribution: Porteus V2.0-x86_64
- Location: Niceville, FL, USA
Re: How to set up a new user on v2.0 - 64k
Hi Everyone,
I just tried this and could not move the file or used incorrect syntax. Please keep in mind, I'm new to cli use and commands. I have a book "Linux" pocket guide for my reference to linux commands. My os is installed to my HD on Dell 1545, 4gb ram, 80gb hd, v2.0 - 64. Here is a copy of my cli inputs:
root@porteus:~# find / -type f -name passwd.xzm -l
find: unknown predicate `-l'
root@porteus:~# find / -type f -name passwd.xzm
/home/guest/Desktop/passwd.xzm
/mnt/live/memory/changes/home/guest/Desktop/passwd.xzm
/mnt/sda1/porteus/changes/home/guest/Desktop/passwd.xzm
root@porteus:~# mv /mnt/sda1/porteus/changes/home/guest/Desktop/passwd.xzm /porteus/modules
mv: cannot move ‘/mnt/sda1/porteus/changes/home/guest/Desktop/passwd.xzm’ to ‘/porteus/modules’: No such file or directory
root@porteus:~#
Any suggestions?
John
I just tried this and could not move the file or used incorrect syntax. Please keep in mind, I'm new to cli use and commands. I have a book "Linux" pocket guide for my reference to linux commands. My os is installed to my HD on Dell 1545, 4gb ram, 80gb hd, v2.0 - 64. Here is a copy of my cli inputs:
root@porteus:~# find / -type f -name passwd.xzm -l
find: unknown predicate `-l'
root@porteus:~# find / -type f -name passwd.xzm
/home/guest/Desktop/passwd.xzm
/mnt/live/memory/changes/home/guest/Desktop/passwd.xzm
/mnt/sda1/porteus/changes/home/guest/Desktop/passwd.xzm
root@porteus:~# mv /mnt/sda1/porteus/changes/home/guest/Desktop/passwd.xzm /porteus/modules
mv: cannot move ‘/mnt/sda1/porteus/changes/home/guest/Desktop/passwd.xzm’ to ‘/porteus/modules’: No such file or directory
root@porteus:~#
Any suggestions?
John
fanthom wrote:root and guest accounts are hardcoded in some of our scripts/tools so it's the best to just change guest's password instead of creating completely new profile.
please open terminal -> run 'passwd' command -> set new password -> switch to root with 'su' (password is 'toor') -> run:
then move passwd.xzm to /porteus/modules folder on your booting media.Code: Select all
mkdir -p /tmp/passwd cp -a --parents /etc/shadow /tmp/passwd dir2xzm /tmp/passwd /home/guest/Desktop/passwd.xzm
Re: How to set up a new user on v2.0 - 64k
/porteus/modules is a relative path.
You should copy/move this module to /mnt/sdXY/porteus/modules. If you don't know what's the path, please run this command in order to get it.
This should show a path like /mnt/sda1/porteus, with this path you have to add '/modules' to point modules folder.
At end, you have /mnt/sda1/porteus/modules.
Cheers!
You should copy/move this module to /mnt/sdXY/porteus/modules. If you don't know what's the path, please run this command in order to get it.
Code: Select all
grep -A1 "ata found in" /mnt/live/var/log/livedbg | tail -n1 | sed 's#//#/#g'
At end, you have /mnt/sda1/porteus/modules.
Cheers!
NjVFQzY2Rg==