The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Change other account password from root access rakeshou UNIX for Dummies Questions & Answers 4 11-30-2007 07:06 AM
How to create a new ftp user account with limited access..? Jeremy3 SUN Solaris 6 09-01-2006 02:52 AM
Other than root user .Normal user is unable to create files mallesh UNIX for Advanced & Expert Users 1 06-22-2005 09:18 AM
Root account disabled and unable to access console AaronC HP-UX 2 05-31-2005 08:05 AM
Modify Root user account ? hitlermom UNIX for Dummies Questions & Answers 3 09-30-2003 03:30 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2003
Registered User
 

Join Date: Aug 2003
Posts: 27
create or modify user account to have same access as root

Is there a way to create or better yet modify a user account so it has the same privs as root?
Forum Sponsor
  #2 (permalink)  
Old 08-07-2003
Registered User
 

Join Date: Aug 2003
Posts: 27
I guess I should have noted its SunOS 5.7
  #3 (permalink)  
Old 08-07-2003
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Sudo would be what I would recommend.
  #4 (permalink)  
Old 08-07-2003
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 713
bash solaris

#!/usr/bin/bash
echo "which user: "
read USER
usermod -G root $USER
#end

greetings Preßy
...
..
.
  #5 (permalink)  
Old 08-07-2003
Registered User
 

Join Date: Aug 2003
Posts: 27
Re: bash solaris

Quote:
Originally posted by pressy
#!/usr/bin/bash
echo "which user: "
read USER
usermod -G root $USER
#end

greetings Preßy
...
..
.
This put me in the "root" group but I do not have root privs. Any other ideas?
  #6 (permalink)  
Old 08-07-2003
Registered User
 

Join Date: Jan 2002
Location: Florida
Posts: 84
Although I don't recommend it (get and use sudo instead), this article has some recommendations that are possible (pass it by your security folks first).
  #7 (permalink)  
Old 08-07-2003
Registered User
 

Join Date: Aug 2003
Posts: 16
vi /etc/passwd
change the user's id to 0
Google The UNIX and Linux Forums
Closed Thread

Tags
solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0