Search Results

Search: Posts Made By: TotallyConfused
Forum: Cybersecurity 08-02-2011
16,588
Posted By TotallyConfused
I created the folder johns and made john the...
I created the folder johns and made john the owner of it.
But when i try to login, I get the message 'johns is not in the sudoers file. This incident will be reported'

Also when i try to change...
Forum: Cybersecurity 08-02-2011
16,588
Posted By TotallyConfused
in /etc/passwd there is a line ...
in /etc/passwd there is a line
johns:x:1000:1000::/home/johns:bin/sh

But when i try to go cd /home/johns I get 'No such file or directory'

Perhaps use sudo to make johns a home dir, set the...
Forum: Cybersecurity 08-02-2011
16,588
Posted By TotallyConfused
When I login to the terminal and run the command...
When I login to the terminal and run the command whoami i get ubuntu
pwd command returns /home/ubuntu

Am I the administrator. [I am doing this on my computer for learning. ]?
I need to create...
Forum: Cybersecurity 08-02-2011
16,588
Posted By TotallyConfused
Why sudo to login as johns? When i do useradd,...
Why sudo to login as johns?
When i do useradd, it does not allow me to create the user.

After login, are you in a johns-specific home dir?
PN: when the user is created it login home directory is...
Forum: Cybersecurity 08-01-2011
16,588
Posted By TotallyConfused
Commands i ran: sudo useradd johns sudo...
Commands i ran:


sudo useradd johns
sudo passwd johns
... i entered the password twice ......
sudo login johns
--- enter johns password....
whoami ---- returns johns
ls -l ...
Forum: Cybersecurity 08-01-2011
16,588
Posted By TotallyConfused
When i login from my id 'Ubuntu' and create a...
When i login from my id 'Ubuntu' and create a user 'johns' . The user is created.
Now when johns logins using login command, and runs 'ls -l' command, he will see that all files are owned by...
Forum: Cybersecurity 08-01-2011
16,588
Posted By TotallyConfused
Change file owner
What i did:
- logged in with acc1 and created a new user acc2
commands used: useradd and passwd.
- Then i logged in acc2. but all the files are owned by acc1.

Issue: I try to change the...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 01:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy